<template>
  <div>
    <div>
      <h4>康复治疗目标</h4>
      <el-row>
        <el-col>
          <el-input type="textarea" v-model="pgForm.shortTarget" clearable placeholder="短期目标"></el-input>
        </el-col>
        <el-col>
          <el-input type="textarea" v-model="pgForm.longTarget" clearable placeholder="长期目标"></el-input>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "treat_object",
  title: "康复治疗目标",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        shortTarget: '',
        longTarget:''
      }
    };
  },

}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin: 10px 0;
}
</style>

